#ifndef GETUSERID_H
#define GETUSERID_H

#include "SessionHandler.h"
#include <QObject>
#include <QNetworkAccessManager>

class GetUserId : public QObject, public SessionHandler
{
    Q_OBJECT
public:
    GetUserId();

protected:
    virtual void handleSession();

private slots:
    void onReplyFinished(QNetworkReply* reply);

private Q_SLOTS:
    void onGet(const QNetworkRequest& req);

private:
    QNetworkAccessManager* m_manager;
};

#endif // GETUSERID_H
